/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

.progress-bar__bar-container {
  height: 10px;
  margin: $ic-sp 0;
  border: solid $ic-brand-primary 1px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;

  &.almost-done {
    border: solid $ic-color-success 1px;
  }
}
.progress-bar__bar {
  transition: width 0.1s;
  background: $ic-brand-primary;
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0;
  
  &.almost-done {
    background: $ic-color-success;
  }
}